package com.foreknow.entity;

public class User {
    private Integer id;
    private String username;
    private String account;
    private String password;
    private String phone;
    private String email;
    private String avater;

    public User() {
        super();
    }

    public User(Integer id, String username, String account, String password, String phone, String email,
                String avater) {
        super();
        this.id = id;
        this.username = username;
        this.account = account;
        this.password = password;
        this.phone = phone;
        this.email = email;
        this.avater = avater;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getAvater() {
        return avater;
    }

    public void setAvater(String avater) {
        this.avater = avater;
    }

    @Override
    public String toString() {
        return "User [id=" + id + ", username=" + username + ", account=" + account + ", password=" + password
                + ", phone=" + phone + ", email=" + email + ", avatar=" + avater + "]";
    }

}
